package com.bio.service.user;

import com.bio.entity.user.User;
import com.bio.exception.Result;
import com.bio.service.Service;
import com.bio.utils.Pager;
import com.bio.utils.Pagination;

public interface UserService extends Service<User>{

	public Result login(String email, String password, String receiveVerifyCode, String realVerifyCode);
	
	public Pager<User> findPagerByCompanyId(Pagination pagination, Long companyId);
	
	public User getUserByNameAndCompany(String name, Long companyId);
	
	public Result accountValidate(User user);
	
	public User getUserByEmail(String email);
	
	public User saveByMd5(User user);
}
